package flash.events;

extern class KeyboardEvent extends flash.events.Event
{
	static var KEY_DOWN:String = "keyDown";
	static var KEY_UP:String = "keyUp";
	function updateAfterEvent():Void;
	var controlKey:Bool;
	var commandKey:Bool;
	var keyCode:UInt;
	var keyLocation:flash.ui.KeyLocation;
	var altKey:Bool;
	var shiftKey:Bool;
	var charCode:UInt;
	var ctrlKey:Bool;
	function new(type:String, bubbles:Bool = true, cancelable:Bool = false, charCodeValue:UInt = 0, keyCodeValue:UInt = 0, keyLocationValue:flash.ui.KeyLocation = flash.ui.KeyLocation.STANDARD, ctrlKeyValue:Bool = false, altKeyValue:Bool = false, shiftKeyValue:Bool = false, controlKeyValue:Bool = false, commandKeyValue:Bool = false):Void;
}